//app.js
import {
    updateVersion
} from 'utils/util'
App({
    globalData: {
        appId: '',
        shareImg: ''
    },
    onLaunch: function () {
        let appId = wx.getAccountInfoSync().miniProgram.appId
        console.log('appId--', appId)
        this.globalData.appId = appId
        this.globalData.shareImg = 'https://file.xintujing.cn/gufenzhushou/shareCover.png'
    },
    onShow: function () {
        // *监听版本更新
        updateVersion();
    },
    globalData: {

    }
})